package com.lizhe.jpa.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 类描述:
 *
 * @author Administrator
 * @create 2021-10-26 21:41
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class ArticleVO {
    private int id;
    private String author;
    private String title;
    private String content;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
}
